public class FastJsonRedisSerializer<T>
    implements RedisSerializer<T> {
    // ...
    @Override
    public byte[] serialize(T t) throws SerializationException {
        // ...
    }

    @Override
    public T deserialize(byte[] bytes) throws SerializationException {
        // ...
    }
}
